package com.wanghua.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wanghua.common.utils.PageUtils;
import com.wanghua.mall.ware.entity.WareInfoEntity;
import com.wanghua.mall.ware.vo.FareVo;

import java.util.Map;

/**
 * 仓库信息
 *
 * @author wanghua
 * @email 2367279431@qq.com
 * @date 2021-08-25 21:29:07
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据地址id获取运费
     *
     * @param addressId
     * @return
     */
    FareVo getFare(Long addressId);
}

